package com.example.exercise.sys.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.exercise.sys.vo.SysAdminRoleVO;
import com.example.exercise.sys.dao.entity.SysAdminRoleEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 
*/
public interface SysAdminRoleDAO {

    List<SysAdminRoleEntity> findByWhere(Page<?> page, @Param("param") SysAdminRoleVO sysAdminRoleVO);

    SysAdminRoleEntity findByKey(@Param("param") SysAdminRoleVO sysAdminRoleVO);

    int insert(@Param("param") SysAdminRoleEntity sysAdminRoleEntity);

    int updateByKey(@Param("param") SysAdminRoleEntity sysAdminRoleEntity);

    int deleteByKey(@Param("param") SysAdminRoleVO sysAdminRoleVO);

}